{extend name="$member_style_layout" /}

{block name="title"}订单资料详情{/block}

{block name="content"}
<style type="text/css">
<!--
.FormTable,.FormTable td{
	border:#DDD solid 1px;
}
.FormTable td.tdL{
	font-weight:bold;
}
.FormTable td.tdR{
	padding:5px;
	vertical-align:middle;
	line-height:20px;
}
-->
</style>
<div class="MainCont">
	<div class="head"><div class="tag">用户订单资料详情如下</div></div>
    <div class="cont">
     	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="FormTable">
          <tr><th>订购产品</th></tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListTable mtop10">
          <tr>
            <th width="60%">名称</th>
            <th width="20%">单价</th>
            <th width="20%">订购数量</th>
          </tr>
{volist name="info.shop_db" id="rs"}
          <tr>
            <td class="tL"><a href="{:iurl('content/show',['id'=>$rs['id']])}" target="_blank">{$rs.title}</a></td>
            <td>X{$rs._num}</td>
            <td>&yen;{$rs._price}</td>
          </tr>
{/volist}
        </table>
    	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="FormTable mtop10">
		<tr>
            <td class="tdL">订单号:</td>
            <td class="tdR">{$info.order_sn}</td>
          </tr>
		  <tr>
            <td class="tdL">物流单号:</td>
            <td class="tdR">{$info.shipping_code}</td>
          </tr>
          <tr>
            <td class="tdL">订购者ID:</td>
            <td class="tdR"><a href="{:get_url('user',['uid'=>$info['uid']])}" target="_blank">{$info.uid|get_user_name}</a></td>
          </tr>
          <tr>
            <td class="tdL">订购时间:</td>
            <td class="tdR">{$info.create_time}</td>
          </tr>
          <tr>
            <td class="tdL">应付总额:</td>
            <td class="tdR">&yen;{$info.pay_money}</td>
          </tr>
           
          <tr>
            <td class="tdL">付款与否:</td>
            <td class="tdR">{eq name="$info.pay_status" value="1"}
已付款
{else /}
 <a href="{:urls('pay',['id'=>$info['id']])}" title="点击在线支付">未付款</a>
{/eq}</td>
          </tr>
<!--自定义字段开始-->
{qb:showpage field="picurl,title"}
          <tr>
            <td class="tdL">{$rs.title}:</td>
            <td class="tdR">{$rs.value}</td>
          </tr>
{/qb:showpage}
<!--自定义字段结束-->
		  <tr>
            <td class="tdL"><br/></td>
            <td class="tdR"><a href="{:urls('index')}">返回</a> </td>
          </tr>
        </table>
    </div>
</div>
{/block}